<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="author" content="wangzhichao">
		<title>明细</title>
		<script language="javascript" src="../script/common.js" type="text/javascript"></script>
		<script type="text/javascript">
			var qt = null;				//数据表格对象
			var fn = false;
			function load(){
				Eui.showNavigation();//显示导航栏
				//初始化
				Common.initDict("oinitLevel","customer_level","全 部");
				createTable();	
			}
			//处理数据 点姓名进入明细页面
			function nameFunc(v,r){
				return "<a href=# onclick=\"showDetail('"+r[0]+"');return false;\">"+v+"<\/a>"
			}
			function detailFunc(v,r){
				return "<a href=# onclick=onEdit('"+r[0]+"')>编辑<\/a>";
			}
			//生成表格，创建QueryTable对象
			function createTable(){
				var columns = []						
				columns[0] = {type:"radio"}
				qt = new QueryTable("sel_person_manage","form","datalist",columns);	
			}
			function onSave(){
				var obj = qt.getRadioValue(true);
				if(obj==null){
					showWarning("请选择一个客户");return;
				}
				dialogBackValue(obj);
			}
		</script>
	</head>
    <body onload="load()">
		<!--查询静态页面部分-->
		<div id="listview">	
			<!--查询条件form-->
			<div class="searchForm">
				<form id="form" name="form">
					<table cellSpacing="0" cellPadding="4" width="100%" border="0">
						<tr>
							<td><label>客户名称</label> <input type="text" name="oname"></td>
							<td><label>客户编号</label> <input type="text" name="uniqueId"></td>
							<td><button type="button" onclick="qt.showTable()">查 询</button></td>
						</tr>
					</table>
				</form>
			</div>
			<div id="datalist"></div>
		</div>
	</body>
</html>